package com.qfedu.zf.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author zym
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Report implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 举报id
     */
    @TableId(value = "report_id", type = IdType.ASSIGN_ID)
    private Integer reportId;

    /**
     * 举报用户id
     */
    private Integer userId;

    /**
     * 被举报次数
     */
    private Integer count;

    /**
     * 举报原因
     */
    private String info;

    /**
     * 举报状态，1成功，2失败，3审核
     */
    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reportDate;

    @DateTimeFormat
    @JsonFormat
    private Date bereportDate;


}
